package com.mvc.moduel1.reflect;

public class Demo {
	
}

class test{
	public static void main(String[] args) throws ClassNotFoundException {
		Class<?> demo1 = null;
		Class<?> demo2 = null;
		Class<?> demo3 = null;
		demo1 = Class.forName("com.mvc.moduel1.reflect.Demo");
		demo2 = new Demo().getClass();
		demo3 = Demo.class;
		
		System.out.println(demo1.getName());
		System.out.println(demo2.getName());
		System.out.println(demo3.getName());
	}
}